package com.mall.product.mapper;

import com.mall.entity.TbGoodsCarousel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 货物旋转木马映射器
 * created with IntelliJ IDEA
 *
 * @author ASUS
 * @Auther: W
 * @Date: 2021/07/16/11:46
 * Other:
 * @date 2021/07/18
 */
@Mapper
public interface GoodsCarouselMapper {
    /**
     * 插入图片
     *
     * @param carousel 旋转木马
     */
    void insertImage(TbGoodsCarousel carousel);

    List<TbGoodsCarousel> findByGoodsId(Long goodsId);
}
